xen.git
19 years ago[IA64] print command line of xen
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:31:35 +0000 (13:31 -0600)]
[IA64] print command line of xen

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years ago[IA64] fix warnings
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:30:04 +0000 (13:30 -0600)]
[IA64] fix warnings

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] fix VTi hangs
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:18:36 +0000 (13:18 -0600)]
[IA64] fix VTi hangs

In some scenarios, xen_timer_interrupt will not set machine itm,
this may make this LP not receive timer interrupt any more.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] Remove warning message in fw_emul.c
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:14:52 +0000 (13:14 -0600)]
[IA64] Remove warning message in fw_emul.c

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[IA64] Fix comment of vmx_hypercall.c
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:12:42 +0000 (13:12 -0600)]
[IA64] Fix comment of vmx_hypercall.c

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] Modify destroy code for PV-on-HVM on IPF
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:11:17 +0000 (13:11 -0600)]
[IA64] Modify destroy code for PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] Fixes for dom0_ops changes
awilliam@xenbuild.aw [Sun, 27 Aug 2006 16:25:39 +0000 (10:25 -0600)]
[IA64] Fixes for dom0_ops changes

Fix typo and update op names

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Sun, 27 Aug 2006 16:24:41 +0000 (10:24 -0600)]
merge with xen-unstable.hg

19 years ago[PATCH] fix null pointer dereference in xen_guest_lookup()
Alex Williamson [Sun, 27 Aug 2006 05:56:01 +0000 (06:56 +0100)]
[PATCH] fix null pointer dereference in xen_guest_lookup()

  The latest ELF changes have a null pointer dereference bug when you
have neither an elf notes section nor a __xen_guest_string.  This patch
checks for the existence of the __xen_guest_string prior to using it.
Please apply.  Thanks,

Alex

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---

19 years ago[IA64] replace lost EFI_RESERVED_TYPE dom0 passthrough
awilliam@xenbuild.aw [Fri, 25 Aug 2006 22:21:39 +0000 (16:21 -0600)]
[IA64] replace lost EFI_RESERVED_TYPE dom0 passthrough

Some systems (HP Superdome in particular) place ACPI tables in
reserved memory regions, so we have to pass it through to dom0.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] dom_fw.c cleaned up.
awilliam@xenbuild.aw [Fri, 25 Aug 2006 21:52:31 +0000 (15:52 -0600)]
[IA64] dom_fw.c cleaned up.

Only use one page for stubs and tables instead of 2MB.
Create struct fw_tables to make code more understandable.
Many comments added.
Correctly compute sal systab checksum.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XEN] Fix silly transposition typo in previous changeset.
kaf24@firebug.cl.cam.ac.uk [Fri, 25 Aug 2006 21:35:24 +0000 (22:35 +0100)]
[XEN] Fix silly transposition typo in previous changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Expand hvm_op hypercall for PV-on-HVM/IPF
awilliam@xenbuild.aw [Fri, 25 Aug 2006 21:06:18 +0000 (15:06 -0600)]
[IA64] Expand hvm_op hypercall for PV-on-HVM/IPF

Introduce HVMOP_setup_shared_info_page
 - A page allocated on HVM-guest OS is swapped original shared_info
   page with this hypercall.
 - In x86 code, original shared_info page is used after pv-on-hvm
   setup with remapping feature in arch depend HYPERVISOR_memory_op.
   But, we can't implement same feature for IPF, thus we select to
   implement with this method.
Introduce HVMOP_setup_gnttab_table
 - Pages allocated on HVM-guest OS is swapped original grant_table
   page frames with this hypercall.
 - Same above.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agoReplace dom0_ops hypercall with three new hypercalls:
kfraser@localhost.localdomain [Fri, 25 Aug 2006 17:39:10 +0000 (18:39 +0100)]
Replace dom0_ops hypercall with three new hypercalls:
 1. platform_op -- used by dom0 kernel to perform actions on the
    hardware platform (e.g., MTRR access, microcode update, platform
    quirks, ...)
 2. domctl -- used by management tools to control a specified domain
 3. sysctl -- used by management tools for system-wide actions

Benefits include more sensible factoring of actions to
hypercalls. Also allows tool compatibility to be tracked separately
from the dom0 kernel. The assumption is that it will be easier to
replace libxenctrl, libxenguest and Xen as a matched set if the
dom0 kernel does not need to be replaced too (e.g., because that
would require vendor revalidation).

From here on we hope to maintain dom0 kernel compatibility. This
promise is not extended to tool compatibility beyond the existing
guarantee that compatibility will not be broken within a three-level
stable release [3.0.2, 3.0.3, etc.].

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Use ELFSIZE to pick the ELF structures to use in readnotes.c
Ian Campbell [Fri, 25 Aug 2006 09:39:24 +0000 (10:39 +0100)]
[TOOLS] Use ELFSIZE to pick the ELF structures to use in readnotes.c

We can remove Elf_Ehdr since it is only used for e_ident which is an
unsigned char array.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agomerge
Ian Campbell [Fri, 25 Aug 2006 09:06:24 +0000 (10:06 +0100)]
merge

19 years ago[IA64] Avoid compile-time warnings.
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:54:23 +0000 (11:54 -0600)]
[IA64] Avoid compile-time warnings.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] All vcpus can sync interrupts from qemu
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:52:23 +0000 (11:52 -0600)]
[IA64] All vcpus can sync interrupts from qemu

Previously only vcpu0 can sync interrupt from qemu.
Now all vcpus can sync.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] pal_halt_light emulatefor domU
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:48:35 +0000 (11:48 -0600)]
[IA64] pal_halt_light emulatefor domU

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
19 years ago[IA64] Clean up: change asm constraints and remove _hypercall_imm*
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:42:24 +0000 (11:42 -0600)]
[IA64] Clean up: change asm constraints and remove _hypercall_imm*

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] VTLB optimization: Reuse invalid entry
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:32:55 +0000 (11:32 -0600)]
[IA64] VTLB optimization: Reuse invalid entry

When inserting entry to vtlb or vhpt, reuse invalid entry.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[LINUX] Remove hypercall permission checks from privcmd driver.
kfraser@localhost.localdomain [Thu, 24 Aug 2006 16:58:28 +0000 (17:58 +0100)]
[LINUX] Remove hypercall permission checks from privcmd driver.

This will allow the tools management to be revised independently
of dom0 kernel interfaces. Currently tools cannot be 'smarter'
than the kernel in terms of hypercalls they know about, because
the kernel disallows access to any hypercalls it does not know
about.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Fixes to the ACPI table definition.
kfraser@localhost.localdomain [Thu, 24 Aug 2006 16:24:54 +0000 (17:24 +0100)]
[HVM] Fixes to the ACPI table definition.

1) Fixed HCT test "Unreported Memory and I/O Port test" for memory
   range 0xC0000~0xFFFFF and IO 0x378
2) Make consistent with non-acpi OS by enabling LPT1, remove com2
   which conflicts with usb mouse
3) Fixed the USB HID-Compliant mouse when set
   usbdevice='tablet'/'mouse'
4) Fixed Vista boot by removing old NIC "resourceConsumer"

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
19 years agoRemove redundant performance counters.
Steven Hand [Thu, 24 Aug 2006 15:25:49 +0000 (16:25 +0100)]
Remove redundant performance counters.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoEnsure get_dom_domid() terminates even when /local/domain/<foo>/name is
Steven Hand [Thu, 24 Aug 2006 13:07:01 +0000 (14:07 +0100)]
Ensure get_dom_domid() terminates even when /local/domain/<foo>/name is
not present.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[POWERPC] Remove references to xen_guest_string from ppc dom0 builder.
Ian Campbell [Thu, 24 Aug 2006 09:58:41 +0000 (10:58 +0100)]
[POWERPC] Remove references to xen_guest_string from ppc dom0 builder.
The xen_guest_string should not be examined directly and the ppc code
doesn't use it yet anyway.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Fix shadow2 issues with HVM guests.
kfraser@localhost.localdomain [Thu, 24 Aug 2006 08:49:41 +0000 (09:49 +0100)]
[XEN] Fix shadow2 issues with HVM guests.

This supercedes 11243:51a98a6c2c054bfc37c90a5a3f29929f2347bda8
which was incorrect because the data operand type codes in
the opcode table are not correct for some special cases: one
of these happens to be PUSH, which is the instruction we
particularly need to fix!

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoThis small patch adds back a closing paranthesis that has gone lost. It
Ewan Mellor [Wed, 23 Aug 2006 22:12:56 +0000 (23:12 +0100)]
This small patch adds back a closing paranthesis that has gone lost. It
fixes the build for the Xen access control module.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>

19 years agoThe various tools expect the device node to be /dev/xen/evtchn -- this
Ewan Mellor [Wed, 23 Aug 2006 21:16:02 +0000 (22:16 +0100)]
The various tools expect the device node to be /dev/xen/evtchn -- this
makes it so that udev actually creates the device there

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years ago[IA64] Remove extraneous verbose output to clean up Fedora boot.
awilliam@xenbuild.aw [Wed, 23 Aug 2006 19:26:46 +0000 (13:26 -0600)]
[IA64] Remove extraneous verbose output to clean up Fedora boot.

Signed-off-by: Aron Griffis <aron@hp.com>
19 years ago[IA64] Modify xc_ia64_hvm_build for using the new Xen event channels
awilliam@xenbuild.aw [Wed, 23 Aug 2006 19:21:02 +0000 (13:21 -0600)]
[IA64] Modify xc_ia64_hvm_build for using the new Xen event channels

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] catch up `new Xen event channels'
awilliam@xenbuild.aw [Wed, 23 Aug 2006 19:13:51 +0000 (13:13 -0600)]
[IA64] catch up `new Xen event channels'

DM over to using the new Xen event channels for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] PV-to-HVM prep for maddr.h
awilliam@xenbuild.aw [Wed, 23 Aug 2006 18:56:10 +0000 (12:56 -0600)]
[IA64] PV-to-HVM prep for maddr.h

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
[merged with existing maddr.h]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge
Ian Campbell [Wed, 23 Aug 2006 17:39:17 +0000 (18:39 +0100)]
merge

19 years ago[XEN] Restore backwards compatibility by supporting __xen_guest
Ian Campbell [Wed, 23 Aug 2006 17:38:49 +0000 (18:38 +0100)]
[XEN] Restore backwards compatibility by supporting __xen_guest
section in dom0 loader.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Fix the x86 emulator to safely fail when it turns out the
kfraser@localhost.localdomain [Wed, 23 Aug 2006 17:38:08 +0000 (18:38 +0100)]
[XEN] Fix the x86 emulator to safely fail when it turns out the
faulting memory access was to/from an implicit memory operand
(typically either an instruction fetch or stack access).
Rationalise use of macros for page fault error code flags.
This patch supercedes the fix in changeset 11242.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Cleanups to domU ELF loader.
Ian Campbell [Wed, 23 Aug 2006 17:35:21 +0000 (18:35 +0100)]
[TOOLS] Cleanups to domU ELF loader.

- Remove debugging statements.
- Cope better with archtectures where neither ELF notes or __xen_guest
  are needed or required.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:16:41 +0000 (11:16 -0600)]
[IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] update xc_shadow_control call with new parameters
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:16:26 +0000 (11:16 -0600)]
[IA64] update xc_shadow_control call with new parameters

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] replace gnttab_log_dirty with gnttab_mark_dirty
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:16:11 +0000 (11:16 -0600)]
[IA64] replace gnttab_log_dirty with gnttab_mark_dirty

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] split parts of page.h into maddr.h
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:15:29 +0000 (11:15 -0600)]
[IA64] split parts of page.h into maddr.h

ia64 support for xen-unstable.hg cset 11081:9c953e1b6fad

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] only setup extra vga console support on dom0
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:14:52 +0000 (11:14 -0600)]
[IA64] only setup extra vga console support on dom0

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:11:27 +0000 (11:11 -0600)]
merge with xen-unstable.hg

19 years agoDon't emulate faulting writes to stack. May fix a number of recent hvm
Steven Hand [Wed, 23 Aug 2006 16:25:11 +0000 (17:25 +0100)]
Don't emulate faulting writes to stack. May fix a number of recent hvm
bugs with the new shadow code. A more complete clean-up of the emulation
code will follow.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoRemove all traces of the obsolete BVT scheduler.
kfraser@localhost.localdomain [Wed, 23 Aug 2006 16:14:38 +0000 (17:14 +0100)]
Remove all traces of the obsolete BVT scheduler.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Remove the 'cpuperf' misc tool. Xenoprof is the
kfraser@localhost.localdomain [Wed, 23 Aug 2006 14:02:55 +0000 (15:02 +0100)]
[TOOLS] Remove the 'cpuperf' misc tool. Xenoprof is the
correct tool to use for hardware perfctr monitoring now.
Also remove unused xc_msr MSR accessor functions from libxenctrl.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Add a simple tool to display the Xen specific ELF notes.
Ian Campbell [Wed, 23 Aug 2006 13:43:48 +0000 (14:43 +0100)]
[TOOLS] Add a simple tool to display the Xen specific ELF notes.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN/LINUX] Define Xen ELF notes in kernel header and update dom0 builder.
Ian Campbell [Wed, 23 Aug 2006 13:41:05 +0000 (14:41 +0100)]
[XEN/LINUX] Define Xen ELF notes in kernel header and update dom0 builder.

ELF notes provide a cleaner interface for passing Xen specific
information from the kernel to the domain builder than the existing
__xen_guest section string. The __xen_guest string is retained in
kernels built with 3.0.2 compatability for domU however dom0 requires
the new interface.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[TOOLS] Allow tools to load kernels which use an ELF notes segment.
Ian Campbell [Wed, 23 Aug 2006 13:37:39 +0000 (14:37 +0100)]
[TOOLS] Allow tools to load kernels which use an ELF notes segment.

Compatability with kernels using the __xen_guest section is retained.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Define the types to be used with Xen in the ELF notes section.
Ian Campbell [Wed, 23 Aug 2006 13:36:09 +0000 (14:36 +0100)]
[XEN] Define the types to be used with Xen in the ELF notes section.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[LINUX] Define ELFNOTE as a preprocessor macro rather than an assembler macro
Ian Campbell [Wed, 23 Aug 2006 13:34:25 +0000 (14:34 +0100)]
[LINUX] Define ELFNOTE as a preprocessor macro rather than an assembler macro

Assembler .macros have various issues with string arguments and :varargs.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Fix pirq_guest_unbind(). Remove unnecessary code
kfraser@localhost.localdomain [Wed, 23 Aug 2006 10:27:06 +0000 (11:27 +0100)]
[XEN] Fix pirq_guest_unbind(). Remove unnecessary code
(in fact flush_all_pending_eoi() was broken!).
Based on a patch from Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Remove PIN processing for Domain-0 vcpu0
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:45:49 +0000 (14:45 -0600)]
[IA64] Remove PIN processing for Domain-0 vcpu0

This patch removes PIN processing for Domain-0 vcpu0 executed
at the time of Xen initialization.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[IA64] Add stubs to Linux/IPF for the new hvm_op hypercall.
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:44:13 +0000 (14:44 -0600)]
[IA64] Add stubs to Linux/IPF for the new hvm_op hypercall.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] Add support for sending event channel interrupts to VT-i guest
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:42:05 +0000 (14:42 -0600)]
[IA64] Add support for sending event channel interrupts to VT-i guest

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] HMVOP_get_param return parameter value
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:40:48 +0000 (14:40 -0600)]
[IA64] HMVOP_get_param return parameter value

HMVOP_get_param return parameter value within the provided
parameter struct for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agomerge
Ian Campbell [Tue, 22 Aug 2006 17:51:02 +0000 (18:51 +0100)]
merge

19 years ago[XEN] Remove some accidentally commited debug code
Ian Campbell [Tue, 22 Aug 2006 17:50:22 +0000 (18:50 +0100)]
[XEN] Remove some accidentally commited debug code
from dom0 domain builder.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[SHADOW] Clean up the DOM0_SHADOW_OP interface.
kfraser@localhost.localdomain [Tue, 22 Aug 2006 17:50:01 +0000 (18:50 +0100)]
[SHADOW] Clean up the DOM0_SHADOW_OP interface.
Also bump the dom0 interface version for tools (but
not for dom0 kernel!).
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge
Ian Campbell [Tue, 22 Aug 2006 17:48:00 +0000 (18:48 +0100)]
merge

19 years ago[XEN] Revert changes to dom0 domain builder made by cset 11226.
Ian Campbell [Tue, 22 Aug 2006 17:47:29 +0000 (18:47 +0100)]
[XEN] Revert changes to dom0 domain builder made by cset 11226.

We require that the dom0 domain builder still sets _PAGE_USER.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[HVM] Clean ups for PV-on-HVM drivers. In particular, platform-pci
kfraser@localhost.localdomain [Tue, 22 Aug 2006 16:16:58 +0000 (17:16 +0100)]
[HVM] Clean ups for PV-on-HVM drivers. In particular, platform-pci
driver can now handle multi-page hypercall stub areas.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Update x86/64 ELF note patch to version accepted upstream.
Ian Campbell [Tue, 22 Aug 2006 14:55:43 +0000 (15:55 +0100)]
[LINUX] Update x86/64 ELF note patch to version accepted upstream.

Signed-off-by: Ian Campbell <ian.campbell@xesource.com>
19 years ago[x86_64] Guests no longer set _PAGE_USER on kernel mappings.
kfraser@localhost.localdomain [Tue, 22 Aug 2006 14:26:40 +0000 (15:26 +0100)]
[x86_64] Guests no longer set _PAGE_USER on kernel mappings.
This may allow guest kernels to be run outside ring 3 in future, and
also provides scope for optimisations today (e.g., using global bit on
user mappings).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[hvm] Export gpfn of store page to guest - not mfn.
Christian Limpach [Tue, 22 Aug 2006 14:13:07 +0000 (15:13 +0100)]
[hvm] Export gpfn of store page to guest - not mfn.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoMake add_to_bridge() always leave the device up even when it bails out due to the...
Anil Madhavapeddy [Tue, 22 Aug 2006 13:59:16 +0000 (14:59 +0100)]
Make add_to_bridge() always leave the device up even when it bails out due to the device already being present on the bridge.
This makes the script more idempotent if run twice (e.g. from hotplug and udev), since the second time the device will be taken down and not brought up again, leaving the host without networking.

Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
19 years ago[LINUX] Support creating ELF note segments in the kernel ELF image.
Ian Campbell [Tue, 22 Aug 2006 11:20:43 +0000 (12:20 +0100)]
[LINUX] Support creating ELF note segments in the kernel ELF image.

i386 version is taken from 2.6.18-rc4-mm1 and x86_64 version has been
submitted for inclusion.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agomerge.
Ian Campbell [Tue, 22 Aug 2006 10:34:46 +0000 (11:34 +0100)]
merge.

19 years ago[XEN] Debug builds check for correct usage of percpu areas.
kfraser@localhost.localdomain [Tue, 22 Aug 2006 10:33:59 +0000 (11:33 +0100)]
[XEN] Debug builds check for correct usage of percpu areas.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Revert bits of cset 11202 since they break the -xenU build for x86/64.
Ian Campbell [Tue, 22 Aug 2006 10:30:13 +0000 (11:30 +0100)]
[LINUX] Revert bits of cset 11202 since they break the -xenU build for x86/64.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Clean up some x86 bootstrap code. Replace some CPU iterators
kfraser@localhost.localdomain [Tue, 22 Aug 2006 10:19:48 +0000 (11:19 +0100)]
[XEN] Clean up some x86 bootstrap code. Replace some CPU iterators
with for_each_cpu() -- we want to ensure that per_cpu areas are
accessed only for cpus in cpu_possible_map.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded option to xentrace to set the trace buffer size.
George Dunlap [Mon, 21 Aug 2006 16:05:11 +0000 (12:05 -0400)]
Added option to xentrace to set the trace buffer size.

Signed-off-by: George Dunlap <gdunlap@xensource.com>
19 years ago[XEN] Remove bogus assertion.
kfraser@localhost.localdomain [Mon, 21 Aug 2006 12:36:05 +0000 (13:36 +0100)]
[XEN] Remove bogus assertion.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix assertion.
Steven Hand [Mon, 21 Aug 2006 12:21:51 +0000 (13:21 +0100)]
Fix assertion.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[XEN] Revert patch 11213.
kfraser@localhost.localdomain [Mon, 21 Aug 2006 10:51:54 +0000 (11:51 +0100)]
[XEN] Revert patch 11213.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Fix maddr_from_mapped_domain_page().
kfraser@localhost.localdomain [Mon, 21 Aug 2006 10:39:27 +0000 (11:39 +0100)]
[XEN] Fix maddr_from_mapped_domain_page().
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Fix shadow2 integration with writable-pagetable logic.
kfraser@localhost.localdomain [Mon, 21 Aug 2006 09:28:02 +0000 (10:28 +0100)]
[XEN] Fix shadow2 integration with writable-pagetable logic.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Remove unnecessary printk from invalid opcode debug output.
kfraser@localhost.localdomain [Mon, 21 Aug 2006 08:01:53 +0000 (09:01 +0100)]
[XEN] Remove unnecessary printk from invalid opcode debug output.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[xend] Add 'xend_config_format' field to the Xend information block.
Christian Limpach [Sun, 20 Aug 2006 23:11:17 +0000 (00:11 +0100)]
[xend] Add 'xend_config_format' field to the Xend information block.
When running 'xm info' it appears thus:

 # xm info
 host                   : 10.13.4.252
 release                : 2.6.17-1.2157_FC5xen0
 version                : #1 SMP Tue Jul 11 23:30:05 EDT 2006
 machine                : x86_64
 ...snipped rest of data...
 cc_compile_domain      : build.redhat.com
 cc_compile_date        : Tue Jul 11 22:50:42 EDT 2006
 xend_config_format     : 2

It will also appear in the SEXPR returned when doing a GET on the
/xend/node path in XenD's HTTP service:

 (node
   (system Linux)
   (host 10.13.4.252)
   (release 2.6.17-1.2157_FC5xen0)
   (version '#1 SMP Tue Jul 11 23:30:05 EDT 2006')
   (machine x86_64)
   ...snipped rest of data...
   (cc_compile_domain build.redhat.com)
   (cc_compile_date 'Tue Jul 11 22:50:42 EDT 2006')
   (xend_config_format 2)
 )

The patch sets the format to value '2' to indicate that we're on the version
with the new style HVM configuration for CDROM devices. The old style having
implicitly been version '1'.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years ago[qemu patches] Update patches for changeset 11209:9bb6c1c1890a.
Christian Limpach [Sun, 20 Aug 2006 23:01:11 +0000 (00:01 +0100)]
[qemu patches] Update patches for changeset 11209:9bb6c1c1890a.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] hdparm tunable IDE write cache for HVM
Christian Limpach [Sun, 20 Aug 2006 22:59:34 +0000 (23:59 +0100)]
[qemu] hdparm tunable IDE write cache for HVM
qemu 0.8.2 has a flush callback to the storage backends, so now it is
possible to implement hdparm tunable IDE write cache enable/disable for
guest domains, allowing people to pick speed or data consistency on a
case by case basis.

As an added benefit, really large LBA48 IOs will now no longer be broken
up into smaller IOs on the host side.

From: Rik van Riel <riel@redhat.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11206:fc3e7e65b953.
Christian Limpach [Sun, 20 Aug 2006 22:52:39 +0000 (23:52 +0100)]
[qemu patches] Update patches for changeset 11206:fc3e7e65b953.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11206:fc3e7e65b953.
Christian Limpach [Sun, 20 Aug 2006 22:34:17 +0000 (23:34 +0100)]
[qemu patches] Update patches for changeset 11206:fc3e7e65b953.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Allow booting from more than one device.
Christian Limpach [Sun, 20 Aug 2006 22:33:28 +0000 (23:33 +0100)]
[qemu] Allow booting from more than one device.
The rombios supports trying to boot from more than one device and then
falling back.  Set 'boot=dc' in your config file to try booting first
from the CD and then the hard drive.

Based on a patch from: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[XEN] More shadow2 cleanups -- primarily moving arch vcpu/domain
kaf24@localhost.localdomain [Sun, 20 Aug 2006 16:55:33 +0000 (17:55 +0100)]
[XEN] More shadow2 cleanups -- primarily moving arch vcpu/domain
fields into separate shadow2-specific structures.
Also rename shadow2_entry_points to shadow2_paging_mode.
Remove VCPUF_shadow2_translate_mode and replace with a better-named
field in vcpu.arch.shadow2
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Clarify x86 hypercall ABI in public header comments.
kaf24@localhost.localdomain [Sat, 19 Aug 2006 16:07:54 +0000 (17:07 +0100)]
[XEN] Clarify x86 hypercall ABI in public header comments.
In particular: x86/64 *does* clobber its ragument registers
(just like i386). This happens in debug builds, and if a
continuation is created.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XENBUS] Allow user of xenbus_read_driver_state() to distinguish
kaf24@localhost.localdomain [Sat, 19 Aug 2006 13:28:10 +0000 (14:28 +0100)]
[XENBUS] Allow user of xenbus_read_driver_state() to distinguish
absence of state field in xenstore by returning XenbusStateUnknown
rather than XenbusStateClosed.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Replace uses of CONFIG_XEN_PRIVILEGED_GUEST with is_initial_xendomain().
kaf24@localhost.localdomain [Sat, 19 Aug 2006 11:08:12 +0000 (12:08 +0100)]
[LINUX] Replace uses of CONFIG_XEN_PRIVILEGED_GUEST with is_initial_xendomain().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[HVM][VMX] Don't update the EIP on debug register accesses
kaf24@localhost.localdomain [Sat, 19 Aug 2006 11:07:07 +0000 (12:07 +0100)]
[HVM][VMX] Don't update the EIP on debug register accesses

On debug register accesses, the EIP should not be updated.
Because of the way that lazy save/restore of the debug
registers is implemented, this initial debug register access
is lost.

Signed-off-by: Travis Betak <travis.betak@amd.com>
19 years ago[HVM] Fix SMBIOS entry point copy destination.
kaf24@localhost.localdomain [Sat, 19 Aug 2006 11:06:36 +0000 (12:06 +0100)]
[HVM] Fix SMBIOS entry point copy destination.
Spotted by Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Fix receive path for auto-translated guests, so that
kaf24@localhost.localdomain [Sat, 19 Aug 2006 10:39:04 +0000 (11:39 +0100)]
[NET] front: Fix receive path for auto-translated guests, so that
driver balloon allowance is properly accounted.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make some implicit header includes explicit.
kaf24@localhost.localdomain [Sat, 19 Aug 2006 10:13:17 +0000 (11:13 +0100)]
[XEN] Make some implicit header includes explicit.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[NET] front: Fix tx buffer leak in teardown path. Fix rx-buffer
kaf24@localhost.localdomain [Sat, 19 Aug 2006 10:08:40 +0000 (11:08 +0100)]
[NET] front: Fix tx buffer leak in teardown path. Fix rx-buffer
cleanup: cannot free skbuffs until their memory is remapped by
multicall.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Fix rx buffer leak when tearing down an interface.
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:58:07 +0000 (10:58 +0100)]
[NET] front: Fix rx buffer leak when tearing down an interface.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[XENBUS] Cleanup correctly on suspend, unregister watches.
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:21:02 +0000 (10:21 +0100)]
[XENBUS] Cleanup correctly on suspend, unregister watches.
Again needed for domU kexec, so the next kernel instance can register
watches without running into -EBUSY.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[NET/BLK] back: Change the netback and blkback device drivers to allow
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:20:08 +0000 (10:20 +0100)]
[NET/BLK] back: Change the netback and blkback device drivers to allow
and handle frontend state transition from "Closing" to "Initialising".
Instead of destroying the backend device then they wait for a
reconnect from the frontend.  Needed for domU kexec support, to hand over
devices from one kernel instance to the next.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[BALLOON] Make /proc/xen/ballon contain driver_pages (aka "driver headroom") uncondit...
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:17:48 +0000 (10:17 +0100)]
[BALLOON] Make /proc/xen/ballon contain driver_pages (aka "driver headroom") unconditionally.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[XENBUS] A few cleanups.
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:15:01 +0000 (10:15 +0100)]
[XENBUS] A few cleanups.
  * move function prototypes to the top of the file.
  * uses the "struct bus_type" function pointers instead
    of overwriting the "struct device_driver" ones for
    xenbus_dev_probe() and xenbus_dev_remove().

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[IA64] makes some includes explicit
awilliam@xenbuild.aw [Fri, 18 Aug 2006 21:01:04 +0000 (15:01 -0600)]
[IA64] makes some includes explicit

Make some includes explicit.
Do not compile anymore vmx/mm.c: not used.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] perfc compile error patch
awilliam@xenbuild.aw [Fri, 18 Aug 2006 19:34:25 +0000 (13:34 -0600)]
[IA64] perfc compile error patch

Signed-off-by: Ken Hironaka <hironaka.ken@soft.fujitsu.com>